#include"ALGraph.h"
typedef struct {
    int* course;
    int* term;
    int totalWeeks;
    int totalTerms;
} Answer;
//分别代表学期数，每学期的学分限制，授课门数上限，
extern int num_lim;
extern float score_lim;
//层次数组即拓扑排序答案
extern int* level;
/*测试
extern int *tmpTerm;
*/
extern Answer ans;
Boolean course_sort(ALGraph* g);
void update(ALGraph* g);